Optimal. Leaf size=45 \[ \frac {2 \, _2F_1\left (\frac {1}{2},1-n;\frac {3}{2};1-\sec (e+f x)\right ) \tan (e+f x)}{f \sqrt {1+\sec (e+f x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 45, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.095, Rules used = {3891, 67}
\begin {gather*} \frac {2 \tan (e+f x) \, _2F_1\left (\frac {1}{2},1-n;\frac {3}{2};1-\sec (e+f x)\right )}{f \sqrt {\sec (e+f x)+1}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 67
Rule 3891
Rubi steps
\begin {align*} \int \sec ^n(e+f x) \sqrt {1+\sec (e+f x)} \, dx &=-\frac {\tan (e+f x) \text {Subst}\left (\int \frac {x^{-1+n}}{\sqrt {1-x}} \, dx,x,\sec (e+f x)\right )}{f \sqrt {1-\sec (e+f x)} \sqrt {1+\sec (e+f x)}}\\ &=\frac {2 \, _2F_1\left (\frac {1}{2},1-n;\frac {3}{2};1-\sec (e+f x)\right ) \tan (e+f x)}{f \sqrt {1+\sec (e+f x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.04, size = 45, normalized size = 1.00 \begin {gather*} \frac {2 \, _2F_1\left (\frac {1}{2},1-n;\frac {3}{2};1-\sec (e+f x)\right ) \tan (e+f x)}{f \sqrt {1+\sec (e+f x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.08, size = 0, normalized size = 0.00 \[\int \left (\sec ^{n}\left (f x +e \right )\right ) \sqrt {1+\sec \left (f x +e \right )}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \sqrt {\sec {\left (e + f x \right )} + 1} \sec ^{n}{\left (e + f x \right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \sqrt {\frac {1}{\cos \left (e+f\,x\right )}+1}\,{\left (\frac {1}{\cos \left (e+f\,x\right )}\right )}^n \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________